<form role="form" id="from">
	<div class="modal-body">
		<div class="row">
			<div class="col-md-4">
				<div class="form-group">
					<label for="field-1" class="control-label">名称</label>
					<input type="text" class="form-control" id="field-1" placeholder="名称" name="name" value="{$name}">
				</div>
			</div>

			<div class="col-md-4">
				<div class="form-group">
					<label class="control-label">类别</label>
					<select class="form-control" name="category">
						<!--{loop $categoryList['cats'] $categoryInfo}-->
						<option value="{$categoryInfo['cid']}" <!--{if $category == $categoryInfo['cid']}-->selected="selected"<!--{/if}-->>$categoryInfo['cname']</option>
						<!--{/loop}-->
					</select>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-4">
				<div class="form-group">
					<label for="field-3" class="control-label">队长</label>
					<input type="text" class="form-control" id="field-3" placeholder="输入uid" name="uid" value="{$uid}">
				</div>
			</div>
			<div class="col-md-4">
				<div class="form-group">
					<label for="field-4" class="control-label">管理员1(请选择圈子内的用户)</label>
					<input type="text" class="form-control" id="field-4" placeholder="输入uid" name="mUid1" value="{$mUids[0]}">
				</div>
			</div>
			<div class="col-md-4">
				<div class="form-group">
					<label for="field-5" class="control-label">管理员2(请选择圈子内的用户)</label>
					<input type="text" class="form-control" id="field-5" placeholder="输入uid" name="mUid2" value="{$mUids[1]}">
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<div class="form-group">
					<label for="field-6" class="control-label">头像（请放完成链接）</label>
					<input type="text" class="form-control" id="field-6" placeholder="头像" name="avatar" value="{$avatar}">
					<p class="text-info">预览</p>
					<img width="80px" height="80px" alt="圈子头像" src="{$avatar}">
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<div class="form-group no-margin">
					<label for="field-7" class="control-label">封面</label>
					<input type="text" class="form-control" id="field-7" placeholder="封面图" name="cover" value="{$cover}">
					<p class="text-info">预览</p>
					<img height="100px" alt="封面图" src="{$cover}">
				</div>
			</div>
		</div>
		<div class="row">
			 <div class="col-md-12">
				 <div class="form-group no-margin">
					 <label for="field-8" class="control-label">简介（限制200字）</label>
					 <textarea class="form-control autogrow" id="field-8" placeholder="写下圈子的简介信息" style="overflow: hidden; word-wrap: break-word; resize: horizontal; height: 104px;" name="introduction">{$introduction}</textarea>
				 </div>
			 </div>
		 </div>
	</div>
	<div class="modal-footer">
		<input type="hidden" name="gid" value="{$id}">
		<button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
		<button type="button" class="btn btn-info editGroup">保存</button>
	</div>
</form>


